import Layout from '@/layout/index.vue'

export default [
  {
    path: '/dict',
    component: Layout,
    meta: { title: '系统管理', noCache: true },
    hidden: true,
    children: [
      {
        path: 'dictSon',
        meta: { title: '添加字典子项' },
        name: '添加字典子项',
        component: (resolve) => require(['@/views/system/dict/dictSon/index'], resolve),
        props($route) {
          return {
            id: $route.query.id
          }
        }
      }
    ]
  }
]
